<table class="table table-striped">
		<thead>
			<tr>
				<th><?php echo lang('bf_id'); ?></th>
				<th><?php echo lang('bf_username'); ?></th>
				<th><?php echo lang('bf_display_name'); ?></th>
				<th>Total likes</th>
				<th>Total amount (in Rs./-)</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
		
		<?php if (isset($user_detail) && is_array($user_detail) && count($user_detail)) : ?>
			<?php foreach ($user_detail as $user) : ?>
			<tr>
				<td><?php echo $user['user_id'] ?></td>
				<td><?php echo $user['username'] ?></td>
				<td><?php echo $user['user_name'] ?></td>
				<td><?php echo $user['user_likes'] ?></td>
				<td><?php echo $user['user_amount'] ?></td>
				<td><a class="btn btn-primary" href="<?php echo site_url(SITE_AREA .'/content/blog/pay_detail/'.$user['user_id'])?>" >Pay Detail</a></td>
			</tr>
			<?php endforeach; ?>
		<?php else: ?>
			<tr>
				<td colspan="8">No users found that match your selection.</td>
			</tr>
		<?php endif; ?>
		</tbody>
	</table>